<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <form>
      <div class="row">
        <div class="col-lg-12">
          <section class="panel">
            <header class="panel-heading">
              立项信息
            </header>
            <div class="panel-body">
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目类型</label>
                <div class="col-sm-10">
                  <select name="proType" class="form-control" disabled>
                    <option value="XS" selected>销售类项目</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">所属公司*</label>
                <div class="col-sm-10">
                  <select name="company" class="form-control" id="company" ng-model="company" ng-change="changeComp()">
                    <option value="">请选择</option>
                    <option value="HFXX">浩方信息</option>
                    <option value="HFKJ">浩方科技</option>
                    <option value="STSNJ">赛特斯南京</option>
                    <option value="STSBJ">赛特斯北京</option>
                    <option value="STSSH">赛特斯上海</option>
                    <option value="STSGD">赛特斯广东</option>
                  </select>
                </div>
              </div>

              <!--<div class="form-group customerForm" ng-if="showArea">-->
                <!--<label class="col-sm-2 control-label">项目区域</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" value="{{proArea}}" class="form-control" disabled>-->
                <!--</div>-->
              <!--</div>-->
              <div class="form-group customerForm" ng-if="showCus">
                <label class="col-sm-2 control-label">客户名称</label>
                <div class="col-sm-10">
                  <input type="text" id="cus" name="cusName" class="form-control" value="{{cusName}}"
                         placeholder="客户名称自动检索。如果没有，请到左侧菜单《我的项目》下《客户列表》下新建客户"
                         onkeyup="return banInputSapce(event);">
                  <input type="hidden" value="{{cusId}}" name="cusId" id="cusId" certus-required/>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目名称</label>
                <div class="col-sm-10">
                  <input type="text" value="{{proName}}" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                    id="proName" name="proName" class="form-control">
                </div>
              </div>
              <!---->
              <!--<div class="form-group customerForm" ng-if="showCompare">-->
                <!--<label class="col-sm-2 control-label">预计比拼类测试</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<select class="form-control" name="isCompare" certus-required ng-model="isCompare">-->
                    <!--<option value="">请选择</option>-->
                    <!--<option value="1">有</option>-->
                    <!--<option value="0">无</option>-->
                  <!--</select>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm" ng-show="showSign">-->
                <!--<label class="col-sm-2 control-label">预签单日期</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input id="datetime" type="text" name="divineSignDate" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"-->
                         <!--value="{{divineSignDate}}" class="form-control">-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm" ng-show="showHk">-->
                <!--<label class="col-sm-2 control-label">预回款日期</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input id="datetime-1" type="text" name="divineHkDate" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"-->
                         <!--value="{{divineHkDate}}" class="form-control">-->
                <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm" ng-show="showVersion">-->
                <!--<label class="col-sm-2 control-label">预计版本发布时间</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input id="datetime-4" name="divineVersionTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"-->
                         <!--certus-required type="text" value="{{divineVersionTime}}" class="form-control">-->
                <!--</div>-->
              <!--</div>-->

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目周期</label>
                <div class="col-sm-10">
                  <input id="datetime-5" name="startTime2" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" type="text"
                         value="{{startTime2}}" style="width: 48%;" class="form-control">
                  <input id="datetime-6" name="endTime2" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                         type="text" style="width:48%;position:absolute;left: 50%;bottom: 0px;" value="{{endTime2}}"
                         class="form-control">
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">所属产品</label>
                <div class="col-sm-10">
                  <select name="product" id="product" class="form-control">
                    <option value="">请选择</option>
                    <option ng-repeat="d in productList" value="{{d.productCode}}">{{d.productName}}</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目经理</label>
                <div class="col-sm-10">
                  <input type="text" value="{{proMgName}}" id="proMgName" name="proMgName" class="form-control" certus-required>
                  <input type="hidden" value="{{proMgId}}" name="proMgId" id="proMgId"/>
                </div>
              </div>

              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">销售经理</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" value="{{proXsName}}" id="proXsName" name="proXsName" class="form-control">-->
                  <!--<input type="hidden" value="{{proXsId}}" name="proXsId" id="proXsId"/>-->
                <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">产品经理</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" value="{{proCpName}}" id="proCpName" name="proCpName" class="form-control">-->
                  <!--<input type="hidden" value="{{proCpId}}" name="proCpId" id="proCpId"/>-->
                <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">交付经理</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" value="{{proJfName}}" id="proJfName" name="proJfName" class="form-control">-->
                  <!--<input type="hidden" value="{{proJfId}}" name="proJfId" id="proJfId"/>-->
                <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm" ng-show="showFinish">-->
              <!--<label class="col-sm-2 control-label">预计完成时间</label>-->
              <!--<div class="col-sm-10">-->
              <!--<input id="datetime-3" name="divineFinishTime" certus-required type="text" value="{{divineFinishTime}}"-->
              <!--class="form-control">-->
              <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm" id="pdLine" ng-show="showPolucy">-->
                <!--<label class="col-sm-2 control-label">产品线*</label>-->
                <!--<div class="col-sm-10">-->
                  <!--&lt;!&ndash;start&ndash;&gt;-->
                  <!--<div ng-repeat="x in dd">-->

                    <!--<div ng-repeat="d in x.deptList">-->
                      <!--<div class="checkbox">-->
                        <!--<label>-->
                          <!--<input type="checkbox" onclick="ckIsN(this.value)" value="{{d.departmentCode}}">-->
                          <!--{{d.departmentName}}-->
                        <!--</label>-->

                      <!--</div>-->
                    <!--</div>-->
                  <!--</div>-->
                  <!--<div class="checkbox">-->
                    <!--<label><input type="checkbox" onclick="ckIsN(this.value)" value="N"> 无</label>-->
                  <!--</div>-->
                  <!--&lt;!&ndash;end&ndash;&gt;-->
                <!--</div>-->
              <!--</div>-->

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">立项说明</label>
                <div class="col-sm-10">
                  <textarea class="form-control"  maxlength="120" placeholder="最多120个字"  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" name="lxDesc">{{lxDesc}}</textarea>
                </div>
              </div>

              <input type="hidden" name="lxLevel" value="1"/>
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">优先级</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<select class="form-control" name="lxLevel" id="lxLevel" ng-model="lxLevel">-->
                    <!--<option value="3">高</option>-->
                    <!--<option value="2">中</option>-->
                    <!--<option value="1">低</option>-->
                  <!--</select>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">紧急性</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<select name="urgency" class="form-control" ng-model="urgency" id="urgency">-->
                    <!--<option value="0">不紧急</option>-->
                    <!--<option value="1">紧急</option>-->
                  <!--</select>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">重要性</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<select name="importance" class="form-control" ng-model="importance" id="importance">-->
                    <!--<option value="0">一般</option>-->
                    <!--<option value="1">重要</option>-->
                    <!--<option value="2">战略</option>-->
                  <!--</select>-->
                <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">价值点描述</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<textarea class="form-control" name="clueDesc"  maxlength="250" placeholder="最多250个字"  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">{{clueDesc}}</textarea>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm" ng-if="showPolucy">-->
                <!--<label class="col-sm-2 control-label">客户决策链和关键描述</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<textarea class="form-control" name="cusPolicy"  maxlength="250" placeholder="最多250个字"  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">{{cusPolicy}}</textarea>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm" ng-if="showCompe">-->
                <!--<label class="col-sm-2 control-label">竞争信息</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<textarea class="form-control" name="competitor"  maxlength="250" placeholder="最多250个字"  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">{{competitor}}</textarea>-->
                <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">沟通确认</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<span class="doprocheck" style="line-height:normal;">-->
                    <!--<div class="checkbox">-->
                      <!--<label>-->
                        <!--<input id="remember" value="remember-me" type="checkbox"> 经过和相关领导确认，本人兼任此项目的项目经理，故一并提交商务预测。-->
                      <!--</label>-->
                    <!--</div>-->
                  <!--</span>-->
                <!--</div>-->
              <!--</div>-->
              <!--<section class=" hideprobox">-->
                <!--<div class="form-group customerForm">-->
                  <!--<label class="col-sm-2 control-label">沟通结果</label>-->
                  <!--<div class="col-sm-10">-->
                    <!--<textarea class="form-control"  maxlength="120"  name="result" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"-->
                      <!--certus-required>{{result}}</textarea>-->
                  <!--</div>-->
                <!--</div>-->
              <!--</section>-->
            </div>

          </section>

          <section class="panel hiderl" style="display: none;">
            <header class="panel-heading">
              人天预估
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">角色*</label>
                <div class="col-sm-10">
                  <select name="rluserName" id="rluserName" class="form-control">
                    <option value="">请选择</option>
                    <option ng-repeat="d in rlList" value="{{d.roleId}}">{{d.roleName}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">级别*</label>
                <div class="col-sm-10">
                  <select name="rtMoney" class="form-control" id="rtMoney">
                    <option value="1">低</option>
                    <option value="2">中</option>
                    <option value="3">高</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">周期*</label>
                <div class="col-sm-10">
                  <input id="rlBeginTime" name="rlBeginTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" placeholder="开始日期"
                         type="text" value="" style="width: 48%;" class="form-control">
                  <input id="rlEndTime" name="rlEndTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                         type="text" placeholder="结束日期" style="width:48%;position:absolute;left: 50%;bottom: 0px;" value=""
                         class="form-control">
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">单人天数*</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" autocomplete="off" onblur="clearNoNum(this)" min="1" value=""
                         max="500" id="rtNum" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">人数*</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" autocomplete="off" onblur="clearNoNum(this)" min="1" value=""
                         max="500" id="pNum" class="form-control">
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">说明</label>
                <div class="col-sm-10">
                <textarea class="form-control" id="rlComments" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                          maxlength="120" placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideRl();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info rlSubmit">提交</a>
              </p>
            </div>
          </section>
          <section class="panel">
            <header class="panel-heading add-heading">
              人天预估
              <i class="add-icon icon-plus" onclick="showRl();"> 新增</i>
            </header>
            <div class="panel-body bio-graph-info">
              <div id="rlContainer" class="dlshouwen-grid-container"></div>
              <div id="rlToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>

          <section class="panel tarhideproin" style="display: none;">
            <header class="panel-heading add-heading">
              目标信息
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目目标<span>*</span></label>
                <div class="col-sm-10">
                  <textarea class="form-control"  id="proTarget" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" maxlength="120"
                    placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">完成时间<span>*</span></label>
                <div class="col-sm-10">
                  <input type="text" id="tarFinishTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value=""
                    class="form-control">
                </div>
              </div>

              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="tarhideproin();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info targetSubmit">提交</a>
              </p>
            </div>
          </section>

          <!--<section class="panel">-->
            <!--<header class="panel-heading add-heading">-->
              <!--项目目标-->
              <!--<i class="add-icon icon-plus" onclick="showtarget();"> 新增</i>-->
            <!--</header>-->
            <!--<div class="panel-body bio-graph-info">-->
              <!--<div id="targetContainer" class="dlshouwen-grid-container"></div>-->
            <!--</div>-->
          <!--</section>-->

          <section class="panel hideproin" style="display: none;">
            <header class="panel-heading add-heading">
              指标信息
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">指标名称</label>
                <div class="col-sm-10">
                  <input type="text" value="" id="wntyName" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                    class="form-control" maxlength="50" placeholder="字数限制(50字以内)">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">指标描述</label>
                <div class="col-sm-10">
                  <textarea class="form-control" id="wntyDesc" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                    maxlength="120" placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">完成时间</label>
                <div class="col-sm-10">
                  <input type="text" id="finishTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value="" certus-required
                    class="form-control">
                </div>
              </div>

              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideproin();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info warnSubmit">提交</a>
              </p>
            </div>
          </section>
          <!--<section class="panel">-->
            <!--<header class="panel-heading add-heading">-->
              <!--项目指标-->
              <!--<i class="add-icon icon-plus" onclick="showproin();"> 新增</i>-->
            <!--</header>-->
            <!--<div class="panel-body bio-graph-info">-->
              <!--<div id="proin1Container" class="dlshouwen-grid-container"></div>-->
            <!--</div>-->
          <!--</section>-->
          <!--<section class="panel hideprobox">-->
            <!--<header class="panel-heading">-->
              <!--商务预测-->
            <!--</header>-->
            <!--<div class="panel-body bio-graph-info">-->

              <!--<div class="form-group customerForm" ng-if="showMoney">-->
                <!--<label class="col-sm-2 control-label">销售额</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="{{divineMoney}}"-->
                    <!--name="divineMoney" min="0" class="form-control">-->
                  <!--<input type="hidden" name="dmId" value="{{dmId}}" certus-required>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm" ng-if="showBudget">-->
                <!--<label class="col-sm-2 control-label">客户预算</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="{{cusBudget}}"-->
                    <!--name="cusBudget" min="0" class="form-control">-->
                  <!--<input type="hidden" name="bumId" value="{{bumId}}">-->
                <!--</div>-->
              <!--</div>-->
              <!--<hr />-->
              <!--<div class="form-group customerForm" ng-if="showCtMoney">-->
                <!--<label class="col-sm-2 control-label">客户交际费用</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="{{divineContactMoney}}"-->
                    <!--name="divineContactMoney" min="0" class="form-control">-->
                  <!--<input type="hidden" name="cmId" value="{{cmId}}" certus-required>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm" ng-show="showCtMoney">-->
                <!--<label class="col-sm-2 control-label">使用周期*</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<div class="row">-->
                    <!--<div class="col-lg-6">-->
                      <!--<input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required-->
                        <!--id="ctStartTime" name="ctStartTime" value="{{ctStartTime}}" placeholder="开始日期">-->
                    <!--</div>-->
                    <!--<div class="col-lg-6">-->
                      <!--<input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required-->
                        <!--id="ctEndTime" name="ctEndTime" value="{{ctEndTime}}" placeholder="结束日期">-->
                    <!--</div>-->
                  <!--</div>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">交际费用说明</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" name="dcMoneyDesc" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value="{{dcMoneyDesc}}"-->
                    <!--class="form-control">-->
                <!--</div>-->
              <!--</div>-->
              <!--<hr />-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">差旅费用</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)"-->
                    <!--value="{{divineBusinessMoney}}" name="divineBusinessMoney" min="0" class="form-control">-->
                  <!--<input type="hidden" name="bmId" value="{{bmId}}" certus-required>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">使用周期*</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<div class="row">-->
                    <!--<div class="col-lg-6">-->
                      <!--<input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required-->
                        <!--id="bsStartTime" name="bsStartTime" value="{{bsStartTime}}" placeholder="开始日期">-->
                    <!--</div>-->
                    <!--<div class="col-lg-6">-->
                      <!--<input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required-->
                        <!--id="bsEndTime" name="bsEndTime" value="{{bsEndTime}}" placeholder="结束日期">-->
                    <!--</div>-->
                  <!--</div>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">费用说明</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" name="dbMoneyDesc" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value="{{dbMoneyDesc}}"-->
                    <!--class="form-control">-->
                <!--</div>-->
              <!--</div>-->
              <!--<hr />-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">采购费用</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)"-->
                    <!--value="{{divinePurchaseMoney}}" name="divinePurchaseMoney" min="0" class="form-control">-->
                  <!--<input type="hidden" name="pmId" value="{{pmId}}" certus-required>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">使用周期*</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<div class="row">-->
                    <!--<div class="col-lg-6">-->
                      <!--<input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required-->
                        <!--id="phStartTime" name="phStartTime" value="{{phStartTime}}" placeholder="开始日期">-->
                    <!--</div>-->
                    <!--<div class="col-lg-6">-->
                      <!--<input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required-->
                        <!--id="phEndTime" name="phEndTime" value="{{phEndTime}}" placeholder="结束日期">-->
                    <!--</div>-->
                  <!--</div>-->
                <!--</div>-->
              <!--</div>-->
              <!--<div class="form-group customerForm">-->
                <!--<label class="col-sm-2 control-label">费用说明</label>-->
                <!--<div class="col-sm-10">-->
                  <!--<input type="text" name="dpMoneyDesc" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value="{{dpMoneyDesc}}"-->
                    <!--class="form-control">-->
                <!--</div>-->
              <!--</div>-->
            <!--</div>-->

          <!--</section>-->
          <section class="panel hideother" style="display: none;">
            <header class="panel-heading add-heading">
              费用信息
            </header>
            <div class="panel-body">
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">金额类型*</label>
                <div class="col-sm-10">
                  <select name="moneyType" id="moneyType" class="form-control">
                    <option value="XSE">预计销售额</option>
                    <option value="KH">客户交际费用</option>
                    <option value="CL">差旅费用</option>
                    <option value="CG">采购费用</option>
                    <option value="QT">其他费用</option>
                    <option value="RL">人力总成本</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">预算金额</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" min="0" value=""
                    certus-required class="form-control" id="bugetMoney">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" id="oStartTime"
                        name="oStartTime" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" id="oEndTime"
                        name="oEndTime" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">事由*</label>
                <div class="col-sm-10">
                  <textarea class="form-control" id="comments" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    maxlength="120" placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>

              <input type="hidden" value="0" id="warrId" />
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideother();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info addMoney">提交</a>
              </p>
            </div>
          </section>
          <section class="panel">
            <header class="panel-heading add-heading">
              其他费用
              <i class="add-icon icon-plus" onclick="showother()"> 新增</i>
            </header>
            <div class="panel-body bio-graph-info">
              <div id="other1Container" class="dlshouwen-grid-container"></div>
              <div id="other1ToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>
          <section class="panel">
            <div class="panel-body">
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                <a href="javascript:void(0);" class="button-next  btn btn-success submit1">确认提交</a>
              </p>
            </div>
          </section>

          <section class="panel">
            <div class="panel-heading">
              审批记录
            </div>
            <div class="panel-body">
              <ul class="tp-ulst" id="containerUl">
                <li>
                  <span>人员姓名</span><span>修改时间</span><span>处理结果</span>
                </li>
              </ul>
            </div>
          </section>

        </div>
      </div>
      <input type="hidden" value="{{proId}}" name="proId" />
      <input type="hidden" value="{{id}}" name="lxId" />
    </form>
  </section>
</section>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<!-- 当前页面js文件引入 -->
<script src="js/project/edit/editLxSq.js"></script>
<script src="js/project/edit/lxNodes.js"></script>
<script type="text/javascript">
  //时间控件
  $('#datetime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#datetime-1').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#finishTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-3").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-4").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#tarFinishTime").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-5").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-6").datepicker({
    format: 'yyyy-mm-dd'
  });

  $('#ctStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#ctEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#oStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#oEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });

  $('#bsStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#bsEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });

  $('#phStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#phEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#rlBeginTime').datepicker({
      format: 'yyyy-mm-dd'
  });
  $('#rlEndTime').datepicker({
      format: 'yyyy-mm-dd'
  });
  //项目经理
  $CertusFormAjax.ajax("findSpUserList",{},function (response) {
      var nhlTeams = [];
      var data = response.data;
      for (var i=0;i<data.length;i++){
          var arr={};
          arr.name=data[i].userName+"["+data[i].positonName+"]";
          arr.id = data[i].userId;
          nhlTeams.push(arr);
      }
      //自动补全
      var nhl = $.map(nhlTeams, function (obj) {
          return {
              value: obj.name,
              data: { category: obj.id }
          };
      });
      //项目经理
      $('#proMgName').devbridgeAutocomplete({
          lookup: nhl,
          minChars: 1,
          onSelect: function (suggestion) {
              $("#proMgId").val(suggestion.data.category);
          },
          showNoSuggestionNotice: true,
          noSuggestionNotice: 'Sorry, no matching results'
      });
      //销售经理
      $('#proXsName').devbridgeAutocomplete({
          lookup: nhl,
          minChars: 1,
          onSelect: function (suggestion) {
              $("#proXsId").val(suggestion.data.category);
          },
          showNoSuggestionNotice: true,
          noSuggestionNotice: 'Sorry, no matching results'
      });
      //产品经理
      $('#proCpName').devbridgeAutocomplete({
          lookup: nhl,
          minChars: 1,
          onSelect: function (suggestion) {
              $("#proCpId").val(suggestion.data.category);
          },
          showNoSuggestionNotice: true,
          noSuggestionNotice: 'Sorry, no matching results'
      });
      //交付经理
      $('#proJfName').devbridgeAutocomplete({
          lookup: nhl,
          minChars: 1,
          onSelect: function (suggestion) {
              $("#proJfId").val(suggestion.data.category);
          },
          showNoSuggestionNotice: true,
          noSuggestionNotice: 'Sorry, no matching results'
      });
  });

  setTimeout(function () {
      $CertusFormAjax.ajax("findComList", {}, function (response) {
          var nhlTeams = [];
          var data = response.data;
          for (var i = 0; i < data.length; i++) {
              var arr = {};
              arr.name = data[i].comName + "（" + data[i].comShortName + "）-----" + data[i].userName;
              arr.id = data[i].id;
              nhlTeams.push(arr);
          }
          //自动补全
          var nhl = $.map(nhlTeams, function (obj) {
              return {
                  value: obj.name,
                  data: { category: obj.id }
              };
          });
          $('#cus').devbridgeAutocomplete({
              lookup: nhl,
              minChars: 1,
              onSelect: function (suggestion) {
                  $("#cusId").val(suggestion.data.category);
              },
              showNoSuggestionNotice: true,
              noSuggestionNotice: 'Sorry, no matching results'
          });
      });
  },200);

  this.getRtList = function () {
      $CertusFormAjax.ajax("getNlxRoles",{"company":$("#company").val()},function (response) {
          var data = response.data;
          $$scope.rlList = data;
      });
  };

  $$scope.changeComp = function () {
      var comp = "";
      if ($("#company").val()=="STSNJ"||$("#company").val()=="STSBJ"||
          $("#company").val()=="STSSH"||$("#company").val()=="STSGD"){
          comp = "STSJT";
      }else{
          comp = $("#company").val();
      }
      getProduct(comp);
  };
</script>